/*
 * terminator_host_mariano.cpp
 *
 *  Created on: Dec 19, 2013
 *      Author: m
 */

#include "ProcessAux.h"
#include <cstdlib>

int main ( int argc, char* argv[] )
{
    ProcessAux::launchProcess( "./dsm_terminator_host" );
    ProcessAux::launchProcess( "./terminatorM" );

    std::string killCmd = "killall -9 ";
    system( ( killCmd + "dsSignaler" ).c_str() );
    system( ( killCmd + "dsWaiter" ).c_str() );

    system( ( killCmd + "controlR11A" ).c_str() );
    system( ( killCmd + "controlR11B" ).c_str() );
    system( ( killCmd + "controlR14" ).c_str() );
    system( ( killCmd + "controlR16" ).c_str() );

    return 0;
}
